import React, { useEffect } from "react";

const Hello: React.FC = () => {
  useEffect(() => {
    console.log("子组件hello");
  }, []);

  return <h3>Hello</h3>;
};
export default Hello;
